package org.edu.modules.jxgz.api;

import com.alibaba.fastjson.JSONObject;
import org.edu.common.api.vo.Result;
import org.edu.common.aspect.annotation.AutoLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "edu-schedule")
public interface JxrwApiService {

    /** 通过id查询 */
    @AutoLog(value = "ve_jw_jxrw-通过id查询")
    @GetMapping(value = "/jxrw/veJwJxrw/queryById")
    Result<JSONObject> queryById(@RequestParam(name="id",required=true) Integer id);

}
